#ifndef PS_POSTALMESSAGE
#define PS_POSTALMESSAGE
#include <QString>
#include <QDateTime>

class ErrorMessage
{
public:
    QString accountId;
    QString title;
    QString body;
    QString icon; // name of the icon
    QDateTime time;
};

class PostalMessage
{
public:
    QString accountId;
    QString accountDescription;
    QString from;
    QString subject;
    QString mailbox;
    QString gravatar;
    int uid;
    int count;
//    QJsonDocument toPushMessage(Settings::NotificationSettings *settings, const QString &appId);
//    QJsonObject toJsonObject(Settings::NotificationSettings *settings);
//    QString tag();
};
#endif // PS_POSTALMESSAGE

